package cn.initcap.designpattern.principle.liskovsubstitution.methodinput;

import java.util.HashMap;
import java.util.Map;

/**
 * @author initcap
 * @date 2018/8/28 AM9:16
 */
public class Child extends Base {
    @Override
    public void method(HashMap map) {
        System.out.println("子类HashMap入参方法被执行");
    }

    public void method(Map map) {
        System.out.println("子类Map入参方法被执行");
    }
}
